package com.foreknow.demo5;

public class A {
    public static void method_a() {
        System.out.println("a..............");
    }

    public static void method_b(int a) {
        System.out.println(a);
    }

    public static boolean method_c(int a,int b) {
        return a == b;
    }

    public static String getName(String name) {
        return "您的名字是:" + name;
    }

    public static String getNameAge(int age,String name) {
       //String names = getName(name);
       return getName(name) + "----" + age;
    }

    public static void main(String[] args) {
        A.method_a();
        A.method_b(12);
        boolean isRight = A.method_c(1,1);
        System.out.println(isRight);
        String name = A.getName("fender");
        System.out.println(name);
        String nameAge = A.getNameAge(20,"gibson");
        System.out.println(nameAge);
    }
}
